std::list::remove

From Cppreference

Jump to: navigation, search
void remove( const T& value );

Removes all elements equal to the given value value from the container.

Contents

Parameters

value - value of the elements to remove

Return value

(none)

Example

Complexity

linear in the size of the container

See also

remove_if
removes elements satisfying specific condition
(public member function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages